package com.wolf.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wolf.common.utils.PageUtils;
import com.wolf.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author wolfmoon
 * @email wolfmoon@gmail.com
 * @date 2022-11-15 18:10:14
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据采购单ID查询所有采购项信息
     * @param id 采购单ID
     * @return 采购项信息集合
     */
    List<PurchaseDetailEntity> listDetailByPurchaseId(Long id);
}

